package com.example.mynote;

import java.util.ArrayList;
import java.util.List;

public class Tag {
    private int id;
    private String tagName = "未分类";
    //一个标签多个笔记
    private List<Note> noteList = new ArrayList<>();

    public List<Note> getNoteList() {
        return noteList;
    }

    public void setNoteList(List<Note> noteList) {
        this.noteList = noteList;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTagName() {
        return tagName;
    }

    public void setTagName(String tagName) {
        this.tagName = tagName;
    }
}
